package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 售后单主表
 * @Author: jeecg-boot
 * @Date:   2022-07-15
 * @Version: V1.0
 */
@ApiModel(value="flower_af_sales_main对象", description="售后单主表")
@Data
@TableName("flower_af_sales_main")
public class FlowerAfSalesMain implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private String orderNo;
	/**售后单号*/
	@Excel(name = "售后单号", width = 15)
    @ApiModelProperty(value = "售后单号")
    private String afOrderNo;

    /**售后类型*/
    @Excel(name = "售后类型", width = 15)
    @ApiModelProperty(value = "售后类型")
    private Integer type;


	/**售后理由*/
	@Excel(name = "售后理由", width = 15)
    @ApiModelProperty(value = "售后理由")
    private String reason;
	/**货损金额*/
	@Excel(name = "货损金额", width = 15)
    @ApiModelProperty(value = "货损金额")
    private java.math.BigDecimal totalPrice;
	/**责任判定*/
	@Excel(name = "责任判定", width = 15)
    @ApiModelProperty(value = "责任判定")
    private String responsibility;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
}
